package com.chengzzz.mysite.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.chengzzz.mysite.entity.Animation;
import com.chengzzz.mysite.entity.User;
import com.chengzzz.mysite.result.Result;

import java.util.List;
import java.util.Map;

/**
 * (Animation)表服务接口
 *
 * @author 等什么柠檬君
 * @since 2020-08-24 14:26:49
 */
public interface AnimationService extends IService<Animation> {

    List<Animation> selectByUid(int id);

    List<Map<String,String>> selectAS();

    IPage<Animation> selectByPage(Integer page, Integer size);

    Result AnimationDelete(Long uuid);

    Result AnimationUpdate(Animation animation);

    Result insertAnimation(Animation animation);

}